/* FULL SCREEN */

.chart:-webkit-full-screen {
  width: 100%;
  height: 100%;
}

.chart:-moz-full-screen {
  width: 100%;
  height: 100%;
}

.chart:-ms-fullscreen {
  width: 100%;
  height: 100%;
}

.chart:fullscreen {
  width: 100%;
  height: 100%;
}

/* GENERAL */

.chart {
  float: left;
  max-height: 800px;
  height: 730px;
  width: 100%;
  .highcharts-container {
    position: inherit !important;
  }
}

.highcharts-draw-mode {
  cursor: crosshair;
}

.left {
  float: left;
}

.right,
.highcharts-stocktools-toolbar li.right {
  float: right;
}

/* GUI */
.tools-wrapper {
  // display: flex;
  // justify-content: space-between;
  // .highcharts-stocktools-wrapper {
  //  width: 300px;
  // }
}

.highcharts-stocktools-wrapper {
  display: block;
}
.highcharts-stocktools-toolbar {
  margin: 0;
  padding: 0;
  width: 100%;
  .more {
    float: left;
    position: relative;
    img {
      display: inline-block;
      width: 46px;
      height: 46px;
      top: 50%;
      left: 50%;
      position: absolute;
      margin-top: -23px;
      margin-left: -23px;
    }
  }
}

.highcharts-stocktools-toolbar li {
  background-repeat: no-repeat;
  cursor: pointer;
  float: left;
  height: 60px;
  list-style: none;
  margin-bottom: 8px;
  position: relative;
  // width: 60px;
  display: flex;
  // margin-left: 30px;
  width: 16.6%;
  img {
    display: block;
    width: 60px;
    height: 60px;
    margin: 0 auto;
  }
  .zoom-in {
    position: absolute;
    height: 45px;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
  }
  .MuiButtonBase-root {
    margin: 0 auto;
  }
}

.highcharts-stocktools-toolbar li ul {
  left: 50%;
  padding-left: 0px;
  width: 70px;
  margin-left: -35px;
  position: absolute;
  box-shadow: 0px 5px 5px -3px rgba(19, 18, 18, 0.1), 0px 4px 5px 1px rgba(0, 0, 0, 7%),
    0px 3px 14px 2px rgba(41, 36, 36, 0.06);
  z-index: 125;
}

.highcharts-stocktools-toolbar li ul li {
  width: 50px !important;
  // margin: 0 auto;
  margin-left: 10px;
  margin-bottom: 5px;
}

.highcharts-stocktools-toolbar li .indicators {
  width: 120px !important;
  li {
    margin: 0;
    width: 120px !important;
    .indicator-type {
      margin: 0;
      width: 120px !important;
      line-height: 60px;
      color: #559de9;
      font-size: 20px;
      text-align: center;
    }
  }
}

.highcharts-stocktools-toolbar li > span.highcharts-menu-item-btn {
  background-repeat: no-repeat;
  background-position: 50% 50%;
  display: block;
  float: left;
  height: 100%;
  width: 32px;
  height: 32px;
}

.highcharts-stocktools-toolbar li > .highcharts-menu-item-title {
  color: #666;
  line-height: 32px;
  font-size: 0.876em;
  padding: 0px 10px 0px 5px;
}

/* Popup */
.chart-component {
  // position: sticky;
  padding-top: 5px;
  width: 100%;
}

.chart-wrapper {
  width: 100%;
  margin: 0 auto;
  background: #303030;
}

/* Responsive design */

@media screen and (max-width: 1024px) {
  .highcharts-stocktools-toolbar li > .highcharts-menu-item-title {
    display: none;
  }
  .highcharts-stocktools-toolbar li ul li {
    width: auto;
  }
}

.highcharts-popup.highcharts-annotation-toolbar {
  right: 10%;
  left: auto;
  height: 40px;
  overflow: hidden;
  padding-right: 40px;
  width: auto;
  min-width: 0;
}

.highcharts-popup.highcharts-annotation-toolbar button {
  margin-top: 0px;
}

.highcharts-popup.highcharts-annotation-toolbar > span {
  display: block;
  float: left;
  padding: 12px;
}

.highcharts-popup {
  background-color: #2e2f33;
  color: #ccc;
  display: none;
  font-size: 20px;
  height: 650px !important;
  border-radius: 10px;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  overflow-x: hidden;
  overflow-y: hidden;
  width: 50%;
  box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.5);
  position: absolute;
  z-index: 200;
  -webkit-box-shadow: 0px 0px 8px 0px rgba(61, 61, 61, 0.3);
  -moz-box-shadow: 0px 0px 8px 0px rgba(61, 61, 61, 0.3);
  box-shadow: 0px 0px 8px 0px rgba(61, 61, 61, 0.3);
}

.highcharts-popup div,
.highcharts-popup span {
  box-sizing: border-box;
}

.highcharts-popup input,
.highcharts-popup label,
.highcharts-popup select {
  clear: both;
  float: left;
  width: 100%;
  height: 45px;
  font-size: 20px;
  margin-bottom: 10px;
  box-sizing: border-box;
  color: #fff;
  option {
    width: 50px;
    font-size: 10px !important;
  }
}

.highcharts-popup input,
.highcharts-popup select {
  background: #3c3d41;
  border: none !important;
}

.highcharts-popup input {
  border: 1px solid #282828;
  padding: 5px;
  width: 100%;
}

.highcharts-popup-lhs-col,
.highcharts-popup-rhs-col {
  height: 100%;
  float: left;
  overflow-y: auto;
}

.highcharts-popup-lhs-col.highcharts-popup-lhs-full {
  width: 100%;
  overflow-x: hidden;
  height: calc(100% - 104px);
  border: none;
  padding: 20px;
  padding-bottom: 10px;
}

.highcharts-popup-lhs-col.highcharts-popup-lhs-full + .highcharts-popup-bottom-row {
  width: 100%;
}

.highcharts-popup-lhs-col {
  clear: both;
  width: 25%;
  border-right: 1px solid #282828;
}

.highcharts-popup-bottom-row {
  float: left;
  padding: 0px 20px;
  padding-bottom: 12px;
  width: 100%;
  border-top: 1px solid #282828;
}

.highcharts-popup-rhs-col {
  width: 75%;
  height: calc(100%);
  padding: 20px;
  padding-bottom: 70px;
}

.highcharts-popup-rhs-col-wrapper {
  width: 100%;
  overflow-x: hidden;
}

.highcharts-popup-rhs-col-wrapper h3 {
  margin-top: 0px;
  padding-bottom: 0px;
}

.highcharts-bindings-wrapper ul.highcharts-indicator-list,
.highcharts-indicator-list {
  float: left;
  color: #ccc;
  height: calc(100% - 100px);
  width: 100%;
  overflow-x: hidden;
  margin: 0px;
  padding: 15px 0px;
}

.highcharts-indicator-list li {
  cursor: pointer;
  padding: 15px 20px;
  margin: 0px;
  width: 100%;
  height: auto;
  font-size: 22px;
  overflow: hidden;
  word-break: break-all;
  box-sizing: border-box;
}

.highcharts-indicator-list li:hover {
  background-color: #494949;
}

.highcharts-tab-item {
  background-color: transparent;
  cursor: pointer;
  display: block;
  float: left;
  padding: 0px 30px;
  height: 60px;
  font-size: 24px;
  line-height: 60px;
}

.highcharts-tab-item.highcharts-tab-item-active {
  background-color: #494949;
  color: #a0a0a0;
}

.highcharts-tab-item-content {
  display: none;
  float: left;
  height: 100%;
  overflow: hidden;
  width: 100%;
  border-top: 1px solid #282828;
}

.highcharts-tab-item-show {
  display: block;
}

.highcharts-popup-close {
  background-repeat: no-repeat;
  background-position: 50% 50%;
  width: 60px;
  height: 60px;
  cursor: pointer;
  position: absolute;
  padding: 10px;
  top: 0%;
  right: 0%;
  color: #333333;
}

.highcharts-popup-close:hover,
.highcharts-popup button:hover,
.highcharts-popup button.highcharts-annotation-edit-button:hover,
.highcharts-popup button.highcharts-annotation-remove-button:hover {
  background-color: #e6ebf5;
}

.highcharts-popup button {
  float: right;
  border: none;
  background-color: #494949;
  color: #a0a0a0;
  width: 120px;
  height: 50px;
  border-radius: 5px;
  margin-left: 5px;
  margin-top: 12px;
  font-size: 24px;
}

.highcharts-popup button:first-child {
  margin-left: 0;
}

.highcharts-tab-disabled {
  color: #ccc;
}

/* annotation edit small popup */
.highcharts-popup button.highcharts-annotation-edit-button,
.highcharts-popup button.highcharts-annotation-remove-button {
  width: 20px;
  height: 40px;
  padding: 20px;
}

.highcharts-popup button.highcharts-annotation-edit-button {
  background-repeat: no-repeat;
  background-position: 50% 50%;
  text-indent: -9999px;
}

.highcharts-popup button.highcharts-annotation-remove-button {
  background-repeat: no-repeat;
  background-position: 50% 50%;
  text-indent: -9999px;
}

.highcharts-popup .highcharts-annotation-title {
  display: block;
  float: left;
  font-size: 1.2em;
  font-weight: bold;
  margin-bottom: 15px;
  width: 100%;
}

.highcharts-popup .highcharts-popup-main-title {
  border-bottom: 1px solid #282828;
  margin: 0px;
  padding: 8px 0px 6px 20px;
}

.highcharts-indicator-title {
  float: left;
  padding-bottom: 15px;
}

.highcharts-candlestick-series .highcharts-point {
  stroke: #cf4e63;
  fill: #cf4e63;
}
.highcharts-candlestick-series .highcharts-point-up {
  stroke: #227565;
  fill: #227565;
}
.highcharts-credits {
  display: none;
}
.highcharts-axis-resizer {
  display: none;
}
.highcharts-annotation-label {
  span {
    font-size: 18px !important;
    color: #ffffff !important;
  }
  text {
    font-size: 24px !important;
    fill: #fff !important;
  }
}
.highcharts-reset-zoom {
  background-color: #597d84;
  .highcharts-button-box {
    width: 80px;
    height: 33px;
    fill: #597d84;
    stroke: #597d84;
  }

  text {
    color: white !important;
    font-weight: normal;
    fill: white !important;
    line-height: 40px;
    font-size: 16px;
    text-align: center;
  }
}

.highcharts-menu-wrapper {
  background-color: #303030;
  ul {
    background-color: #303030;
  }
}

.clear {
  clear: both;
}

.chart-wrapper {
  .highcharts-tracker-line {
    stroke: #559de9;
    stroke-width: 1;
  }
}

.MuiPaper-root {
  background-color: #303030 !important;
}
.MuiFormLabel-root {
  color: #fff !important;
  font-size: 14px !important;
}

.MuiButtonBase-root {
  color: #fff !important;
}
.MuiSelect-root {
  color: #fff !important;
  font-size: 12px !important;
}
.MuiInputBase-root {
  line-height: 50px !important;
}
.MuiSelect-icon {
  top: -30px !important;
  width: 50px !important;
  fill: #ffffff !important;
}

label + .MuiInput-formControl {
  width: 250px !important;
}
.MuiInputBase-input {
  padding: 0px 0 0px !important;
  height: 50px !important;
}
.MuiInputBase-input {
  border-bottom: 1px solid #ffffff !important;
}
.MuiInput-underline:after {
  left: 0;
  right: 0;
  bottom: 0;
  content: "";
  position: absolute;
  transform: scaleX(0);
  transition: transform 200ms cubic-bezier(0, 0, 0.2, 1) 0ms;
  border-bottom: 1px solid #ffffff !important;
  pointer-events: none;
}
.MuiListItem-root {
  font-size: 14px !important;
}

.MuiInput-input {
  font-size: 12px !important;
  color: #fff !important;
}

.MuiInputLabel-animated {
  font-size: 10px !important;
}

.Indicators {
  .MuiButtonBase-root {
    padding: 0;
    min-width: 60px;
    width: 60px;
    img {
      width: 60px !important;
      height: auto;
    }
  }
}
.chart-full-wrapper {
  position: absolute;
  width: 100%;
  height: 100%;
  max-height: none;
  padding-top: 10px;
  box-sizing: border-box;
  .fullChart {
    width: 100% !important;
    height: calc(100% - 115px);
  }
  .chart{
    height: calc(100% - 115px);
    max-height:inherit
  }
}

.highcharts-bb-series {
  path {
    stroke: #559de9;
  }

  .highcharts-graph:nth-child(3) {
    stroke: #a86c24;
    stroke-width: 1;
  }
  .highcharts-tracker-line {
    stroke: #a86c24;
  }
}

.highcharts-macd-series {
  rect,
  path {
    stroke: rgb(144, 237, 125) !important;
  }
  rect {
    fill: rgb(144, 237, 125) !important;
  }
}

.highcharts-navigator-handle {
  stroke-width: 2;
  // fill: #aaaaaa!important;
}

.highcharts-navigator-outline {
  stroke: rgba(73, 73, 73, 0.8) !important;
}

.highcharts-annotation-shapes {
  path {
    stroke: #559de9 !important;
  }
}
.tabToolsWrapper {
  width: 100%;
  padding: 10px 0 0px 20px;
  display: flex;
  box-sizing: border-box;
  height: 40px;
  position: relative;
  justify-content: space-between;
  background-color: #303030;
  .rangeTabWrapper {
    background-color: #303030;
    width: 260px;
    border-radius: 10px;
    overflow: hidden;
    height: 40px;
    .taberContainer {
      position: relative;
      box-sizing: border-box;
      height: 40px;
      .taber {
        position: absolute;
        left: 0;
        top: 0;
        right: 0;
        bottom: 0;
        display: flex;
        height: 40px;
        box-sizing: border-box;
        .tabItem,
        .tabItemChecked {
          cursor: pointer;
          height: 40px;
          box-sizing: border-box;
          line-height: 40px;
          font-size: 22px;
          font-weight: 400;
          color: #a0a0a0;
          text-align: center;
          width: 25%;
        }
        .tabItemChecked {
          cursor: pointer;
          color: #aaaaaa;
        }
      }

      .tabBar {
        position: absolute;
        border-radius: 10px;
        height: 40px;
        box-sizing: border-box;
        background-color: #494949;
        border: 1px #494949 solid;
        transition: top 0.3s cubic-bezier(0.35, 0, 0.25, 1), left 0.3s cubic-bezier(0.35, 0, 0.25, 1),
          color 0.3s cubic-bezier(0.35, 0, 0.25, 1), width 0.3s cubic-bezier(0.35, 0, 0.25, 1);
      }
    }
  }
  .resetBtn {
    height: 35px;
    padding-left: 15px;
    padding-right: 15px;
    margin-right: 20px;
    border-radius: 5px;
    font-size: 16px;
    background-color: #494949;
    color: #aaaaaa;
    line-height: 35px;
  }
}

.containerWrapper {
  display: flex;
  .lines {
    width: 120px;
    border-right: 1px solid #252525;
    .ant-layout-sider {
      width: auto !important;
      min-width: 0 !important;
      max-width: 500px !important;
      margin: 0;
      background-color: transparent !important;
      .ant-menu-submenu {
        padding-top: 10px;
        padding-bottom: 10px;
      }
      .ant-menu {
        background-color: transparent !important;
        border-right: none !important;
      }
      .title {
        text-align: center;
        font-size: 16px;
        color: #a0a0a0;
        font-weight: bold;
        height: 50px;
        line-height: 50px;
        padding-top: 10px;
        margin-bottom: 20px;
      }
      .ant-menu-submenu-title {
        padding: 0 !important;
        height: auto !important;
        .content {
          width: 100%;
          .strategyImg {
            width: 50px;
            display: block;
            margin: 0 auto;
          }
          .name {
            color: #a0a0a0;
            font-size: 12px;
            text-align: center;
          }
        }
      }
    }
  }
  .chartContainer {
    flex: 1;
  }
}

.chart-menu{
  display: none;
}
.chart-nav:hover{
  .chart-menu{
  display: block;
}
}